//
//  BasicModel.m
//  To Feel
//
//  Created by dllo on 16/7/16.
//  Copyright © 2016年 caoyu. All rights reserved.
//

#import "BasicModel.h"

@implementation BasicModel

- (instancetype)initWithDictionary:(NSDictionary *)dictionary{
    
    if (self = [super init]) {
        
        [self setValuesForKeysWithDictionary:dictionary];
    }
    
    return self;
}

+ (instancetype)modelWithDictonary:(NSDictionary *)dictionary{
    
    return [[self alloc]initWithDictionary:dictionary];
    
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}


@end
